package com.etalk.crm.pojo;

/**
 * @author Jordan
 */

public enum OrderLogType {
    /**
     * 添加订单
     */
    ADD(1, "添加订单"),
    REVIEW_NOT_PASS(2, "审核不通过"),
    REVIEW_PASS(3, "审核通过"),
    CHANGE_DAY_TIME(4, "修改每日课时"),
    CHANGE_GIFT_TIME(5, "修改赠送课时"),
    CHANGE_OK_TIME(6, "修改生效时间"),
    CHANGE_DEADLINE_TIME(7, "修改到期时间"),
    CHANGE_BUY_TIME(8, "修改购买时间"),
    CHANGE_TEXTBOOK(9, "修改教材"),
    STOP_ORDER(10, "终止订单"),
    RETURN_LESSON(11, "返还课时"),
    TICKET_HALF(12, "挖券减半"),
    SPLIT_GIFT(13, "拆分或赠送订单"),
    ADD_SPLIT_GIFT(14, "添加拆分或赠送订单");

    private Integer value;
    private String name;

    OrderLogType(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
